package com.service.admin.merchant.controller.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.service.core.rest.request.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
public class MerchantPageReq extends PageRequest {

    private String userAccount;

    private String userName;

    private String merchantName;

    @JsonFormat(timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @JsonFormat(timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    private Integer merchantStatus;
}
